﻿using System;
using System.Web;

namespace StubRssService
{
    public class RssService : IHttpHandler
    {
        public void ProcessRequest(HttpContext context)
        {
            Log.Store("{0:dd:HH:mm:ss.fff} {1}", DateTime.UtcNow, context.Request.RawUrl);
            context.Response.ContentType = "text/xml";
            context.Response.Write(Resource.EmptyRss);
        }

        public bool IsReusable
        {
            get
            {
                return true;
            }
        }
    }
}